#coding=utf-8
"""
Author:杭州多测师_付佳美
Time:2025/5/7 11:48
website:https://duoceshi.net
"""

class Pages_Element():
    userName = ("id","userAccount")

    passWord = ("id","loginPwd")

    logBtn = ("id","loginBtn")

    deskTop = ("xpath","/html/body/div/section/div[1]/div[1]/ul/li/span")

    userCenter = ("xpath","/html/body/div/aside/div/dl[1]/dt")

     # 定位用户管理
    userManage = ("xpath","/html/body/div/aside/div/dl[1]/dd/ul/li[1]/a")

    # 定位用户管理的iframe框定位
    iframe1 = ("xpath","/html/body/div/section/div[2]/div[2]/iframe")

    # 点击添加用户
    addUser = ("xpath","/html/body/div/div[2]/span[1]/a[2]")

    # 定位添加用户名的框
    iframe2 = ("xpath","/html/body/div[3]/div/iframe")

    # 点击添加用户名
    adduserName = ("xpath","/html/body/div/div/form/table/tbody/tr[1]/td/input[2]")

    # 点击添加女
    userSex = ("xpath","/html/body/div/div/form/table/tbody/tr[2]/td/label[2]")

   # 添加手机号码
    usertel = ("xpath","/html/body/div/div/form/table/tbody/tr[3]/td/input")

   # 添加邮箱
    useremail = ("xpath","/html/body/div/div/form/table/tbody/tr[4]/td/input")

   # 添加账号
    userAccount = ("xpath","/html/body/div/div/form/table/tbody/tr[5]/td/input")

    # 添加登录密码
    loginPwd = ("xpath","/html/body/div/div/form/table/tbody/tr[6]/td/input")

    # 确认密码
    confirmPwd = ("xpath","/html/body/div/div/form/table/tbody/tr[7]/td/input")

    # 点击确定
    submitBtn = ("xpath","/html/body/div/div/form/table/tbody/tr[8]/td/button")

     # 查询用户
    # 点击查询用户框
    iframe3 = ("xpath","/html/body/div/section/div[2]/div[2]/iframe")

    # 添加查询用户名字
    searchValue = ("xpath","/html/body/div/div[1]/input[3]")

    # 点击查询用户按钮
    searchBtn = ("xpath","/html/body/div/div[1]/button")

